﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Permission.ViewModel
{
    public class ExecuteResult
    {
        private int code;

        public int Code
        {
            get { return code; }
            set { code = value; }
        }

        private string message;

        public string Message
        {
            get { return message; }
            set { message = value; }
        }
    }

    public class ExecuteResult<T> :ExecuteResult
    {
        public T Data { get; set; }

        public List<T> List { get; set; }
    }
}
